Skip to content

docs(cli): document sudo cortex home precedence in --help#300

Open
694410194 wants to merge 1 commit into
CortexLM:mainfrom
694410194:codex/document-sudo-cortex-home-help
Open

docs(cli): document sudo cortex home precedence in --help#300
694410194 wants to merge 1 commit into
CortexLM:mainfrom
694410194:codex/document-sudo-cortex-home-help

Conversation

@694410194
Copy link
Copy Markdown

Summary

  • document CORTEX_CONFIG_DIR in the main CLI help as the highest-priority Cortex home override
  • clarify that CORTEX_HOME overrides the Cortex home directory rather than only a config file path
  • add a sudo/root note explaining that Cortex prefers SUDO_USER or SUDO_UID home resolution under sudo and falls back to root's home otherwise

Verification

  • git diff --check
  • static check that AFTER_HELP now mentions CORTEX_CONFIG_DIR, SUDO_USER, and SUDO_UID
  • rustc --version (not available in this environment, so cargo-based checks could not be run here)

Fixes #53180
/claim #53180

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant